<?php defined('SYSPATH') or die('No direct script access.') ?>
<section style="padding-top: 70px;">




<h5>Найдено:</h5>
<!--//
<pre>
<?php
/*
print_r($arr);
print_r($cards);
*/
?>
</pre>
//-->



<table class="table table-striped">
	<thead>
		<tr>
			<!--//<th><label class="checkbox"><input type="checkbox" value=""></label></th>//-->
			<th>#</th>
			<th>От</th>
			<th>Тема</th>
			<th>От кого</th>
			<th>Автор резолюции</th>
			<th>Исполнитель</th>
			<th>План</th>
			<th>Поручение</th>
			<th>Прикрепленные документы</th>
		</tr>
	</thead>
	<tbody>
<?php
foreach($cards as $date)
{	foreach($date as $card)
	{?>
		<tr>
			<!--//<th><label class="checkbox"><input type="checkbox" value=""></label></th>//-->
			<td><?php echo $card['id'] ?></td>
			<td><?php echo !empty($card['date-in'])?$card['date-in']:'' ?></td>
			<td><?php echo !empty($card['txt-subj'])?$card['txt-subj']:'' ?></td>
			<td><?php echo !empty($card['txt-from'])?$card['txt-from']:'' ?></td>
			<td><?php echo !empty($card['txt-responsible'])?$card['txt-responsible']:'' ?></td>
			<td><?php echo !empty($card['txt-performer'])?$card['txt-performer']:'' ?></td>
			<td><?php echo !empty($card['date-plan-from'])?$card['date-plan-from']:'' ?></td>
			<td><?php echo !empty($card['txt-order-text'])?$card['txt-order-text']:'' ?></td>
			<td>блаблабла.pdf<i class="icon-download-alt"></i></td>
			<td><?php echo!empty($card['txt-from'])?$card['txt-from']:'' ?><input class="input-small" type="text" placeholder="ФИО"></td>
		</tr><?php
	}}
?>
	</tbody>
</table>

</section>


